
const routes = [
  {
    path: "/",
    exact: false,
    component: () => import('@/layouts/MenuLayout'),
    children:[
      {
        path: "/",
        redirect: "/home",
      }, 
      
      {
        path: "/home",
        name: "home",
        component: () => import('@/pages/Home'),
      },
    
      {
        path: "/next",
        name: "next",
        component: () => import('@/pages/Next'),
      },

      {
        path: "/404",
        name: "404",
        component: () => import('@/pages/NotFound'),
      },

      {
        path: '*',
        redirect: '/404'
      }
    ],
  },
];

export default routes;
